package cn.zswltech.gruul.biz.service;

import cn.zswltech.gruul.biz.support.service.IService;
import cn.zswltech.gruul.common.result.Response;
import cn.zswltech.gruul.common.entity.DictionaryDO;
import cn.zswltech.gruul.common.dal.query.DictionaryQuery;
import cn.zswltech.gruul.common.dal.tkmybatis.Page;
import cn.zswltech.gruul.common.dal.vo.DictionarySave;

import java.util.List;

public interface DictionaryService extends IService<DictionaryDO> {

    Response<Page<DictionarySave>> getDictionaryList(DictionaryQuery query);

    Response<List<DictionaryDO>> getDictionaryListNoPage(DictionaryQuery query);

    Response createDictionary(DictionarySave dictionarySave);

    Response updateDictionary(DictionarySave dictionarySave);

    Response deleteDictionary(String myKey);
}
